package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Shraddha
 * Date: 17/8/13
 * Time: 4:40 PM
 * To change this template use File | Settings | File Templates.
 */
public class User {
    String userName;
    String emailID;
    String phoneNum;
    String libraryID;    //User ID is same as Library ID;
    String password;
    boolean loggedIn = false;

    User(String name, String email, String phnum, String libID, String pw){
        userName = name;
        emailID = email;
        phoneNum = phnum;
        libraryID = libID;
        password =  pw;
    }


    public static void getMembershipDetails(User user){

       System.out.print("Name: " + user.userName +
                        "\nEmail address: " + user.emailID +
                        "\nPhone Number: " + user.phoneNum + "\n" );
    }


}
